import request from '@/utils/request';
//
export const getArticlelist = params => request({
    url: '/admin/article/list',
    method: 'GET',
    params
});
// 数据字典列表
export const getSysDictList = params => request({
    url: '/dicts/getSysDictList',
    method: 'POST',
    data: params
});
// 数据字典新增
export const addDictType = params => request({
    url: '/dicts/addDictType',
    method: 'POST',
    data: params
});
// 数据字典子新增
export const addDictData = params => request({
    url: '/dicts/addDictData',
    method: 'POST',
    data: params
});
// 数据字典修改
export const updateDictType = params => request({
    url: '/dicts/updateDictType',
    method: 'POST',
    data: params
});
// 数据字典子新增
export const updateDictData = params => request({
    url: '/dicts/updateDictData',
    method: 'POST',
    data: params
});
// 单个字典获取
export const findSysDict = params => request({
    url: '/dicts/findSysDict',
    method: 'GET',
    params
});
// 多个字典获取
export const dictsPullList = params => request({
    url: '/dicts/pull/list',
    method: 'POST',
    data: params
});
// 多个字典获取
export const dataDisabled = params => request({
    url: '/dicts/dataDisabled',
    method: 'POST',
    data: params
});
